import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: syyyy
 * Date: 2025-07-26
 * Time: 15:41
 */
public class Test2 {
    public static void func1(){
        double sumLen=100.0;
        int count=10;
        double sum=100;
        while(count>0){
            sumLen=sumLen/2.0;
            sum=sum+2*sumLen;
            count--;
        }
        System.out.println(sum);
        System.out.println(sumLen);
    }

    public static int func2(int month){
        if(month==1||month==2){
            return 1;
        }else{
            return func2(month-1)+func2(month-2);
        }

    }
    public static void main(String[] args) {
        func1();

//        int month=0;
//        Scanner scanner=new Scanner(System.in);
//        month=scanner.nextInt();


    }
}
